<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改采购单位验收合同')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-acceptancecontract-edit" th:object="${sysAcceptancecontract}">
            <input name="acceptanceContractId" th:field="*{acceptanceContractId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购单位：</label>
                <div class="col-sm-8">
                    <input name="purchasingUnitId" th:field="*{purchasingUnitId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购单位：</label>
                <div class="col-sm-8">
                    <input name="unitName" th:field="*{unitName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购编号：</label>
                <div class="col-sm-8">
                    <input name="unitNumber" th:field="*{unitNumber}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">协议供货价(元)：</label>
                <div class="col-sm-8">
                    <input name="providePrice" th:field="*{providePrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最终成交价(元)：</label>
                <div class="col-sm-8">
                    <input name="dealPrice" th:field="*{dealPrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审批预算(元)：</label>
                <div class="col-sm-8">
                    <input name="expectMoney" th:field="*{expectMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购单位负责人：</label>
                <div class="col-sm-8">
                    <input name="unitManager" th:field="*{unitManager}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购单位联系电话：</label>
                <div class="col-sm-8">
                    <input name="unitTel" th:field="*{unitTel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">追加资金(元)：</label>
                <div class="col-sm-8">
                    <input name="additionalMoney" th:field="*{additionalMoney}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">供货商名称：</label>
                <div class="col-sm-8">
                    <input name="supplierName" th:field="*{supplierName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">负责人：</label>
                <div class="col-sm-8">
                    <input name="manager" th:field="*{manager}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">供货商联系电话：</label>
                <div class="col-sm-8">
                    <input name="supplierPhone" th:field="*{supplierPhone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">验收结果：</label>
                <div class="col-sm-8">
                    <input name="acceptanceResult" th:field="*{acceptanceResult}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">验收成员：</label>
                <div class="col-sm-8">
                    <input name="acceptancePerson" th:field="*{acceptancePerson}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">付款金额小写(元)：</label>
                <div class="col-sm-8">
                    <input name="priceLowercase" th:field="*{priceLowercase}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">金额大写：</label>
                <div class="col-sm-8">
                    <input name="priceChinese" th:field="*{priceChinese}" class="form-control" type="text">
                </div>
            </div>

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/acceptancecontract";
        $("#form-acceptancecontract-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-acceptancecontract-edit').serialize());
            }
        }
    </script>
</body>
</html>